package com.liuc.task.cluster.demo.task2.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("user")
@Data
public class User {
    @TableId(value = "id")
    private String id;

    private String name;

    public User(String id, String name) {
        this.id = id;
        this.name = name;
    }
}
